home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_0399 / 222 < prev    next >
Internet Message Format  |  1994-08-27  |  2KB

  1. From: Stephen Henson (CSM) <shenson@camborne-school-of-mines.ac.uk>
  2. Date: Sat, 17 Apr 93 14:08:18 BST
  3. Message-Id: <3598.9304171308@csm.ac.uk>
  4. To: mint <mint@terminator.rs.itd.umich.edu>
  5. Subject: MiNT security ?
  6.  
  7. With Eric's recent addition of superuser privs needed for Tsetdate etc. (MiNT
  8. 1.05), I think a few more additions are needed. Security is a joke without
  9. memory protection anyway. At present *with* memory protection its a joke as
  10. well ...
  11.  
  12.     Here's a list of functions that immediately spring to mind which
  13. should require root privs to use:
  14.  
  15. Super(),Rwabs(),Setexc(),Floprd(),Flopwr(),Flopfmt(),Mfpint(),Xbitimer(),
  16. Supexec().
  17.  
  18.     Roughly speaking, these allow access to supervisor mode, in some
  19. way, or allow manipulation of disk data. Since the device driver installation
  20. calls allow this too, they should be root only as well.
  21.  
  22.     Others could merely be used to be a pain (!) by resetting certain
  23. info or crashing the system. Some of these are:
  24.  
  25. Tsetdate(),Tsettime(),Initmous(),Setscreen(),Setpallette(),Setcolor(),Rsconf(),
  26. Keytbl(),Cursconf(),Scrdmp(),Settime(),Jdisint(),Jenabint(),Giaccess(),
  27. Offgibit(),Ongibit(),Dosound(),Setprt(),Kbrate().
  28.  
  29.     Anyway, no doubt others can think up a few I've missed. Lots of other
  30. ways exist to bypass security with ease, e.g. add your own installable filesys
  31. (which would be on an unprotected TOS partition) or hacked version of MiNT.
  32. This could be got round by allowing MiNT/minixfs to boot from a minix partition
  33. (not as paradoxical as it sounds), which currently can't be done (anyone who
  34. draws the conclusion from this that I would thus want (a) minixfs to be able
  35. to completely replace all tos filesystems (b) become more 'official' and 
  36. (c) get some money for it, can only have my complete assurance that they are
  37. probably right :-) ).
  38. Regards all, Steve.
  39.